#ifndef __LCD_H__
#define __LCD_H__

#include <QtGui>

class LcdDialog: public QDialog 
{
    Q_OBJECT
public:
    LcdDialog(QWidget * parent = 0, Qt::WindowFlags f = 0);
    ~LcdDialog();

public:
    void startSync();
    void setImage(QImage *img);

protected:
    virtual void paintEvent(QPaintEvent *event);

private:
    QTimer *mTimer;
    QImage *mImg;
};

#endif
